General Control Functions

The functions available vary by control type, as described in the following sections:

DataCapture and Scene DataCapture Controls

InputEmulation and Scene InputEmulation Controls

Region Control

Table Control and Scene Table Control

SceneMenu Control

DataCapture and Scene DataCapture Controls

Activate: Activates a control's region or a Scene object in run time. This method is useful with memory consuming or slow controls that do not perform well under the AutoActivate property.

Capture: Assigns all data from a DataCapture control's region to a VSD Data object. The VSD Data object allows you to access textual and graphical information at run time.

Capture Text: Captures all text data from DataCapture control's region.

Deactivate: Deactivates a control's region or a Scene object in run time.

Words Capture: Assigns all data from a DataCapture control's region to a Data object with all word coordinates.

InputEmulation and Scene InputEmulation Controls

Activate: Activates a control's region or a Scene object in run time. This method is useful with memory consuming or slow controls that do not perform well under the AutoActivate property.

Deactivate: Deactivates a control's region or a Scene object in run time.

Execute Command: Executes a specific command using a command name.

Execute String: Executes custom command sequences containing any text or operator expressions.

Get Command Content: Gets specific command sequences using a command name.

Get Command description: Gets specific command description using a command name.

Set Focus Input: Sets the focus for the source application.

Region Control

Activate: Activates a control's region or a Scene object in run time. This method is useful with memory consuming or slow controls that do not perform well under the AutoActivate property.

Capture: Assigns all data in a Region control's region to a DCData object. The DCData object allows you to access textual and graphical information at run time.

Capture Text: Captures all text data from a DataCapture control's region.

Deactivate: Deactivates a control's region or a Scene object in run time.

Execute Command: Executes a specific command using command name.

Execute String: Executes a custom command sequence containing any text or operator expressions.

Get Command Content: Gets specific command sequences using a command name.

Get Command description: Gets specific command description using a command name.

Set Focus Input: Sets focus for the source application.

Words Capture: Assigns all data from a Region control's region to a Data object with all word coordinates.

Table Control and Scene Table Control

Activate: Activates a control's region in run time. This method is useful with memory consuming or slow controls that do not perform well under the AutoActivate property.

Click On Cell: Clicks on the specified cell in the control in the source application. See Using Scene Table Functions.

Columns Count: Returns the number of columns in the control in the source application.

Deactivate: Deactivates a control's region or a Scene object in run time.

Double Click On Cell: Double clicks on the specified cell in the control in the source application. See Using Scene Table Functions.

Get Cell Text: Returns the text from the specified cell in the control in the source application.

Get Grid: Gets the table’s data from the source application and puts it in a grid.

Paints Cells Rectangles: Bounds and frames the cells in the table control in the source application.

Recognize Table: Recognizes a table from a scene and saves the result in a special dataset object.

Right Mouse Click on Cell: Right mouse clicks on the specified cell in the control in the source application.

Rows Count: Returns the number of rows in the control in the source application.

SceneMenu Control

Activate: Activates a control's region or a Scene object in run time. This method is useful with memory consuming or slow controls that do not perform well under the AutoActivate property.

Click: Emulates a click on the source menu item.

Deactivate: Deactivates a control's region or a Scene object in run time.

Find Menu path by Text: Gets a menu path using a menu name.